package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 医生分配对象 gx_user_dept
 * 
 * @author ruoyi
 * @date 2023-01-16
 */
public class GxUserDept extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 医生ID */
    @Excel(name = "医生ID")
    private Long userId;

    /** 团队ID */
    @Excel(name = "团队ID")
    private Long deptId;

    private String userName;
    private String deptName;
    private String nickName;
    /** 是否高级角色（1是0否） */
    @Excel(name = "是否高级角色", readConverterExp = "1=是0否")
    private char senior;

    /** 是否普通角色（1是0否） */
    @Excel(name = "是否普通角色", readConverterExp = "1=是0否")
    private String common;

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }
    public String getDeptName(){return deptName;}

    public String getUserName(){return userName;}

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setSenior(char senior)
    {
        this.senior = senior;
    }

    public char getSenior()
    {
        return senior;
    }
    public void setCommon(String common) 
    {
        this.common = common;
    }

    public String getCommon() 
    {
        return common;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("deptId", getDeptId())
            .append("userName", getUserName())
            .append("nickName", getNickName())
            .append("deptName", getDeptName())
            .append("senior", getSenior())
            .append("common", getCommon())
            .toString();
    }
}
